package com.zzyl.nursing.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zzyl.common.core.page.TableDataInfo;
import com.zzyl.nursing.domain.DeviceData;
import com.zzyl.nursing.dto.DeviceDataPageReqDto;
import com.zzyl.nursing.message.IotMsgNotifyData;
import org.springframework.stereotype.Service;

@Service
public interface IDeviceDataService extends IService<DeviceData> {
    void saveData(IotMsgNotifyData iotMsgNotifyData);

    /**
     * 查询设备数据列表
     *
     * @param deviceDataPageReqDto 设备数据
     * @return 设备数据集合
     */
    TableDataInfo selectDeviceDataList(DeviceDataPageReqDto deviceDataPageReqDto);
}
